package com.example.carShop;

import com.example.api.api.TestService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class carShopApp {
    public static void  main(String[] args){
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        context.start();
        TestService demoService = (TestService)context.getBean("testService");
        System.out.println(demoService.test());
    }
}
